﻿@model MongoServices.Example.Models.ViewModels.BlogCreateEditViewModel
@Html.ValidationSummary(true)
<fieldset>
	<legend>Post</legend>
	<div class="editor-label">
		@Html.LabelFor(model => model.Title)
	</div>
	<div class="editor-field">
		@Html.EditorFor(model => model.Title)
		@Html.ValidationMessageFor(model => model.Title)
	</div>

	<div class="editor-label">
		@Html.LabelFor(model => model.Body)
	</div>
	<div class="editor-field">
		@Html.EditorFor(model => model.Body)
		@Html.ValidationMessageFor(model => model.Body)
	</div>
</fieldset>
